import java.util.Scanner;

//思想：三元一次方程组
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        while(sc.hasNext()){
            int a = sc.nextInt();
            int b = sc.nextInt();
            int c = sc.nextInt();
            int d = sc.nextInt();
            int A = (a + c) >>1;  //右移就当做除2
            int B = (b + d) >>1;
            int C = (d - b) >>1;
            if((A-B == a)&&(B-C == b)&&(A+B == c)&&(B+C ==d)){
                System.out.print(A+" "+B+" "+C);
            }else{
                System.out.print("No");
            }
        }
        sc.close(); //关闭Scanner
    }
}